import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

const store = new Vuex.Store({
	state: {
		text: '默认状态',
		isLogin: false,
		noneMessage: true,
		cover: 'https://img.bosszhipin.com/boss/avatar/avatar_8.png',
		chat_cover:'',
		user: {
			// _id: '6572a3527ad52d3447c97603',
			_id: '',
			username: '',
			cover: 'https://img.bosszhipin.com/boss/avatar/avatar_16.png',
			sex: '男',
			age: '18',
			edu: '本科',
			school: '泉州师范学院',
			lastMessage: "",
			lastTime: "",
			sendMessage: ""
		},
		userList: [],
		Boss: [],
		Spark: {
			name: 'offer小助手',
			cover: 'https://s2.loli.net/2024/01/12/VQU8XPEolsfOiZ5.jpg',
			lastMessage: 'ai助手',
			lastTime: ''
		},
		team: [{
			name: "李佳添",
			work: "211308036"
		},{
			name: "黄锦辉",
			work: "211308046"
		},  {
			name: "王文彬",
			work: "211308019"
		},{
			name: "陈悰",
			work: "211308061"
		},{
			name: "王鑫铭",
			work: "211308050"
		} ]
	},
	mutations: {
		
	},
	actions: {

	}
})

export default store